package net.sesami.nhg.ebd.batch.domain.hibernate;

import java.io.Serializable;

public class CO_ItemPK implements Serializable {
	private static final long serialVersionUID = 1L;
	private Integer CO_ID;
	private Integer Line_Num;

	public Integer getCO_ID() {
		return CO_ID;
	}

	public void setCO_ID(Integer cO_ID) {
		CO_ID = cO_ID;
	}

	public Integer getLine_Num() {
		return Line_Num;
	}

	public void setLine_Num(Integer line_Num) {
		Line_Num = line_Num;
	}

	@Override
	public boolean equals(Object arg0) {
		if (arg0 == null)
			return false;
		if (!(arg0 instanceof CO_ItemPK))
			return false;
		CO_ItemPK arg1 = (CO_ItemPK) arg0;
		return (this.CO_ID.intValue() == arg1.getCO_ID().intValue())
				&& (this.Line_Num.intValue() == arg1.getLine_Num().intValue());
	}

	@Override
	public int hashCode() {
		int hsCode;
		hsCode = CO_ID.hashCode();
		hsCode = 19 * hsCode + Line_Num.hashCode();
		return hsCode;
	}
}
